package com.evan.idempotent.request;

import lombok.Builder;
import lombok.Data;

import java.util.concurrent.TimeUnit;

/**
 * @Description:
 * @Author liudeguang
 */
@Data
@Builder
public class IdempotentRequest {

    /**
     * 幂等Key
     */
    private String key;

    /**
     * 存储过期时间
     */
    private long storgeExpireTime;

    /**
     * 锁的过期时间
     */
    private long lockExpireTime;

    /**
     * 存储时间单位
     */
    private TimeUnit timeUnit;


}
